<?Php
	require_once('Model/getconfig.php');						
?>
<?php
	$user=$_SESSION["user"];
	$name=$_SESSION["name"];	
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>adways.biz -  Kerala's largest site for listing business and personal details, directory</title>
<meta name="description" content="Search and find business/service near your home through a simple click. Refined locality wise search gives you immediate results. Send instant sms/email to the required business/service. Also access contact details for free. Post Your details: Add your business/service and maximize visibility ">
<link href="css/adways.css" rel="stylesheet" type="text/css" />
<script  language="JavaScript" src="businesslist.js"></script>

<style type="text/css">

</style></head>

<body >
	<form method="post" action="search.php">

<div id="header_wrapper">
  <div id="headertopmenu">
    <?php
	if($name!='')
	{
?>
    <div id="loginheader">
      <table width="425" border="0" align="right" cellpadding="0" cellspacing="0">
        <tr>
          <td width="131">View Details</td>
          <td width="89">Edit Details</td>
          <td width="88"><a href="signout.php" target="_parent" >Logout</a></td>
          <td width="117">&nbsp;</td>
        </tr>
      </table>
    </div>
    <?Php
	}
		
?>
    <div class="toplinks"><a href="login_index.php" target="_parent" >||</a><a href="#" target="_parent">&nbsp;Contact Us</a></div>
    <?php
	if($name=='')
	{
?>  
    <div class="toplinks"><a href="login_index.php" target="_parent" >Member Login </a></div>
    <?Php
	}
		
?>    
    <div class="toplinks"><a href="register.php" target="_parent">Register</a> ||</div>
    <div class="toplinks"> <a href="index.php" target="_parent">Home </a>||</div>
  </div>
  <div id="header_logo"></div>
</div>
<div class="mainpage">
  <div class="what"><span class="mesagebox">What</span>
    <div class="fieldbox"><span class="smallbox_wherecombo">
      <select class="captial12pxblack" name="cmbTypeofbusiness" id="cmbTypeofbusiness"  onchange="subbusinesscheck(this.value)"  style="height:30px; width:300px;" >
        <option value="">Type of Business</option>
        <?Php
	$arrMenu=Model_typeofbusiness::get_Typeofbusiness();
	foreach($arrMenu as $objMenu){ 
		//$cCode=$objMenu->getFixedcode(); 
		$Typeofbusiness=$objMenu->getTypeofbusiness(); 

		
?>
        <option value="<?Php echo $Typeofbusiness ?>" ><?Php echo $Typeofbusiness ?></option>
        <?php		
		

	}
							
?>
      </select>
    </span></div>
      <div class="fieldbox">
        <div id="branch">
        <select class="captial12pxblack" name="cmbBusinesssublist" id="cmbBusinesssublist"  style="height:30px; width:300px;">
          <option value="">Select your field</option>
        </select>
      </div>
      </div>
  </div>
  <div class="where"><span class="mesagebox">Where</span>
    <div class="fieldbox">
      <select name="cmbcontState" class="captial12pxblack" id="cmbcontState" style="height:30px; width:300px;">
        <option value="Kerala">-------- Kerala --------</option>
      </select>
    </div>    <div class="fieldbox">

      <select class="captial12pxblack" name="cmbDistrict"  id="cmbDistrict"  style="height:30px; width:300px;">
                            <option value="">Select District</option>
<?Php
	$arrMenu=Model_listeddistrict::get_Listeddistrictvalue();
	foreach($arrMenu as $objMenu){ 
		$district=$objMenu->getDistrict(); 
?>
    <option value="<?Php echo $district; ?>" ><?Php echo $district; ?></option>
<?php		

	}
?>							

</select> 
	</div>
  </div>
  <div class="indexbutton">
    <input type="submit" name="button" id="button" style="height:30px; width:300px;" value="Submit" />
  </div>
</div>
<div class="indexfooter">
  <div align="center"><strong>Copyright &copy; 2012 Adways infopage all rights reserved</strong> </div>
</div>
</form>
</body>
</html>
